package com.itheima.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.admin.dto.ModuleListDto;
import com.itheima.admin.pojo.Module;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ModuleMapper extends BaseMapper<Module> {
    List<Module> queryParentModule();
    List<ModuleListDto> queryModuleModule(@Param("moduleId") String moduleId);
}
